package com.koo.modules.stock.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.koo.common.base.entity.CommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author charlin
 * @email 136137465@qq.com
 * @date 2023-04-03 10:59:55
 */
@Data
@ApiModel("")
@TableName("stock_loss")
public class StockLossEntity extends CommonEntity {
    private static final long serialVersionUID = 1L;


    @ExcelIgnore
    @TableId
    private Long lossId;

    @ColumnWidth(11)
    @ExcelProperty("盘亏编号")
    @ApiModelProperty(value = "盘亏编号")
    private String lossNo;

    @ColumnWidth(11)
    @ExcelProperty("盘亏日期")
    @ApiModelProperty(value = "盘亏日期")
    private Date lossDate;

    @ColumnWidth(11)
    @ExcelProperty("盘亏金额")
    @ApiModelProperty(value = "盘亏金额")
    private BigDecimal lossFee;

    @ColumnWidth(11)
    @ExcelProperty("审核状态")
    @ApiModelProperty(value = "审核状态")
    private Integer auditStatus;

    @ColumnWidth(11)
    @ExcelProperty("审核人id")
    @ApiModelProperty(value = "审核人id")
    private Long auditorId;

    @ColumnWidth(11)
    @ExcelProperty("审核人")
    @ApiModelProperty(value = "审核人")
    private String auditor;



}
